package com.example.javademo.Entity;


import io.swagger.v3.oas.annotations.media.Schema;

public class User {
    @Schema(description = "用户名", example = "john_doe", required = true)
    private String username;
    @Schema(description = "密码", example = "secure_password123", required = true)
    private String password;

    // Getter and Setter methods

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }
//    @Override
//    public String toString() {
//        return "User{" +
//                "username='" + getUsername() + '\'' +
//                ", password='" + getPassword() + '\'' +
//                '}';
//    }
}

